@charset "utf-8";

// 登录
.login-wrapper {
  @extend .flex-center-center;
  position: relative;
  height: calc(100vh);
  height: -webkit-calc(100vh);
  min-width: 1280px;
  background-color: #f5f5f5;
  background: url("../assets/images/background.png") center center / 100% no-repeat;
  background-size: cover;
  overflow: hidden;

  .login-container {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: space-around;
    width: calc(100vw / 1.92);
    min-width: 1000px;
    min-height: 580px;
    border-radius: 4px;
    background-size: 100% 100%;

    .logo {
      position: absolute;
      top: 49px;
      right: 550px;

      .title-wrap {
        font-size: 30px;
        font-weight: bold;
        display: flex;

        .text {
          display: flex;
          flex-direction: column;
        }

        img {
          width: 50px;
          vertical-align: middle;
        }

        .first {
          color: #fff;
          margin-left: 8px;
          font-size: 24px;
        }

        .last {
          color: #262B30;
          margin-left: 8px;
        }
      }
    }

    .login-form {
      display: inline-block;
      position: absolute;
      right: 0;
      width: 350px;
      text-align: left;

      .slot-class {
        margin-bottom: 15px;
        font-size: 14px;
        color: #657280;
      }
    }
  }

  .ant-input {
    height: 40px;
  }

  .ant-btn {
    height: 40px;
    background-color: #2D5ACB;
    border-color: #2D5ACB;

    &:hover {
      background-color: #2D5ACB;
      border-color: #2D5ACB;
    }
  }

  // 页脚
  .footer-info-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
  }
}

// 页脚
.footer-info-wrap {
  text-align: center;
  font-size: 14px;
  height: 50px;
  line-height: 50px;
  background: #00275a;
  color: #fff;

  .footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

// 登录界面
.form-container {
  @extend .flex-column;
  position: relative;
  width: 100%;
  height: 100%;
  font-size: 14px;
  background-color: #FFFFFF;
  max-height: 510px; //限制注册表单高度
  box-shadow: 0px 2px 18px 0px rgba(0, 20, 51, 0.2);
  opacity: 0.9;
  border-radius: 8px;

  .title-wrap {
    width: 100%;
    font-size: 24px;
    margin: 30px auto 42px auto;
    .ant-col{
      margin-top: 10px;
    }
    .title {
      text-align: left;
      color: #262B30;
    }
  }

  .title-wrap-register {
    width: 100%;
    font-size: 24px;
    margin: 10px auto 10px auto;
    .ant-row{
      .ant-col{
        margin-top: 10px;
      }
    }
    .title {
      text-align: left;
      color: #262B30;
    }
  }

  .tips-title {
    color: #faad14;
    font-size: 14px;
  }

  .tips-content {
    color: #999999;
  }

  .spin-wrap {
    position: absolute;
  }

  .ant-form-item {
    margin-bottom: 15px;
    font-size: 14px;
  }

  .ant-form-item-with-help {
    margin-bottom: 2px !important;
  }

  .ant-form-item-control {
    line-height: 40px !important;
  }

  .a-tag-init {
    color: #666666;

    &:hover {
      color: #2D5ACB;
      cursor: pointer;
    }
  }
}
//注册界面codel
.register-code {
  margin-top: 20px;
  border-radius: 7px;
  height: 83px;
  display: flex;
  background: rgba(0, 48, 143, 0.5);
  img{
    height: 83px;
    border-radius: 7px 0 0 7px;
  }
  div{
    font-size: 12px;
    width: 100%;
    color: #FFFFFF;
    padding: 15px 18px;
  }
}
// 用户管理
.addForm {
  .joinForm {
    padding: 0 20px;

    .code {
      width: 100%;
      display: flex;
      align-items: center;

      input {
        width: 200px;
      }

      .pass-verifyCode {
        width: 60px;
        min-height: 32px !important;
        max-height: 32px !important;
        margin-bottom: 5px;
      }
    }
  }

  .btnClass {
    display: flex;
    justify-content: center;

    .cancel {
      margin-right: 20px;
    }

    .commonBtn {
      width: 120px !important;
      @extend .dg-base-btn;
    }
  }
}